﻿using System;
using System.Collections.Generic;

namespace E.Model
{
    [Serializable]
    public class PublicCourseModel
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public decimal SchoolHour { get; set; }
        public string Description { get; set; }
        public bool IsOriginal { get; set; }
        public int UserCount { get; set; }
    }

    [Serializable]
    public class PublicUserInCourseSearchModel
    {
        public int CourseID { get; set; }
        public string UserName { get; set; }
    }

    [Serializable]
    public class PublicUserInCourseListModel
    {
        public int TotalCount { get; set; }
        public IList<UserListModel> List { get; set; }
    }

    [Serializable]
    public class PublicStudyLogModel
    {
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public decimal SchoolHour { get; set; }
        public bool IsOriginal { get; set; }
        public string Chapters { get; set; }
        public int Progress { get; set; }
    }

    #region 课件

    [Serializable]
    public class PublicCourseWareModel
    {
        public int ID { get; set; }
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public int SerialNumber { get; set; }
        public int OriginalSerialNumber { get; set; }
        public string Content { get; set; }
        public string ImgUrl { get; set; }
        public string SoundUrl { get; set; }
        public string VideoUrl { get; set; }
    }

    [Serializable]
    public class ShortPublicCourseWareModel
    {
        public int ID { get; set; }
        public int CourseID { get; set; }
        public string CourseName { get; set; }
        public int SerialNumber { get; set; }
    }

    [Serializable]
    public class PublicCourseWareSearchModel
    {
        public int CourseID { get; set; }
    }

    [Serializable]
    public class PublicCourseWareListModel
    {
        public int TotalCount { get; set; }
        public IList<ShortPublicCourseWareModel> List { get; set; }
    }

    #endregion
}
